#!/bin/sh
CMD_NAME=$(basename $0)

if [ $# -lt 1 ]
then
    echo "${CMD_NAME} [program]"
    exit
fi

valgrind --trace-children=yes --tool=memcheck --leak-check=full --log-file="valgrind.%p" $*
